<?php
	foreach($events as $event)
	{ 
?>
    <div>Id: <?php echo $event->Id; ?></div>
<?php 
	}
?>
<div>Create an event</div>